package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.UserToAgent;

/**
 * @Author: chen
 * @Description:
 * @Date: 创建于 9:57 2022/11/24
 */
public interface UserToAgentService {

    /**
     * 新增
     */
    void insert(Integer userId, Integer accountId);

    /**
     * 查询
     */
    UserToAgent getByUserId(Integer userId);

    /**
     * 通过用户id查询
     *
     * @param userId
     * @return
     */
    UserToAgent getByAccountId(Integer userId);
}
